<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1><a href="javascript:list()">list</a></h1>
	<h1><a href="javascript:add()">add</a></h1>
	<h1><a href="user/find?id:123">find</a></h1>
	<h1><a href="javascript:finds()">finds</a></h1>
<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>
<script>
function list(){
	$.post("user/list", {uname: "上锁", pwd: "123"}, rt=>{
		console.log(rt);
	},"json");
}
function add(){
	$.post("demo/add", {uname: "上锁1", usid: 105, age: 20, tel: "18374712257", code:123123}, rt=>{
		console.log(rt);
	},"json");
}
function finds(){
	$.post("demo/finds", {uname: "上锁1", usid: 105, age: 20, tel: "18374712257", code:123123}, rt=>{
		console.log(rt);
	},"json");
}
</script>
</body>
</html>